import React, { Component } from 'react'
import './index.css'
import { withRouter } from 'react-router-dom'
class index extends Component {
  render() {
    let { title } = this.props
    return (
      <div className='top1'>
        <span className='iconfont icon' onClick={() => this.props.history.goBack()}>&#xe65a;</span>
        <span>{title}</span>
        <span></span>
      </div>
    )
  }
}
export default withRouter(index)
